package com.group.three.service.impl;

import com.group.three.mapper.PreviewVideosMapper;
import com.group.three.pojo.PreviewVideos;
import com.group.three.service.PreviewService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class PreviewServiceImpl implements PreviewService {
    @Autowired
    private PreviewVideosMapper previewVideosMapper;
    @Override
    public List<PreviewVideos> selectAllPreview(Integer isEnable) {
        List<PreviewVideos> previewVideos = previewVideosMapper.selectAllPreview(1);
        return previewVideos;
    }
}
